/*
 * Copyright (c) 2024. hallele, Inc All rights reserved.
 */

package cn.hallele.ms.portalcenter.application.bo;

import cn.hallele.mc.sdk.usercenter.common.enums.UserStatusEnum;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * hallele_ms_portalcenter
 *
 * @author anle5
 * @since 2024/10/6 15:03
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthBO implements Serializable {
    @Serial
    private static final long serialVersionUID = 6488186963065334944L;
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 验证码 key
     */
    private String captchaKey;

    /**
     * 验证码
     */
    private String captchaCode;

    /**
     * 密码过期时间
     */
    private Date passExpiredTime;

    /**
     * 用户状态
     */
    private UserStatusEnum status;

    /**
     * 账户过期时间
     */
    private Date accountExpiredTime;

    /**
     * 租户id
     */
    private Integer tenantId;
}
